<title>设置我的资料</title>
<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-header">设置我的资料</div>
        <div class="layui-card-body" pad15>
          <div class="layui-form" lay-filter="" template lay-url="/system/tsUser/ajaxSessionTsUser.do">
              <form class="layui-form" action="" lay-filter="component-form-group" >
<!--            <div class="layui-form-item">
              <label class="layui-form-label">我的角色</label>
              <div class="layui-input-inline">
                <select name="role" lay-verify="">
                  <option value="1" selected>超级管理员</option>
                  <option value="2" disabled>管理员</option>
                  <option value="3" disabled>普通角色</option>
                </select>
              </div>
              <div class="layui-form-mid layui-word-aux">当前角色不可更改为其它角色</div>
            </div>-->
            <div class="layui-form-item">
              <label class="layui-form-label">用户名</label>
              <div class="layui-input-inline">
                <input type="hidden" name="userId" value="{{d.data.userId}}" />
                <input type="text" name="userName" value="{{d.data.userName}}" readonly class="layui-input">
              </div>
<!--              <div class="layui-form-mid layui-word-aux">不可修改。一般用于后台登入名</div>-->
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">登录名</label>
              <div class="layui-input-inline">
                <input type="text" name="loginName"  lay-verify="nickname"
                       autocomplete="off" placeholder="登录名" disabled class="layui-input" value="{{d.data.loginName}}">
              </div>
            </div>
            <!--<div class="layui-form-item">
              <label class="layui-form-label">头像</label>
              <div class="layui-input-inline">
                <input name="avatar" lay-verify="required" id="LAY_avatarSrc" placeholder="图片地址"
                       value="http://cdn.layui.com/avatar/168.jpg" class="layui-input">

              </div>
              <div class="layui-input-inline layui-btn-container" style="width: auto;">
                &lt;!&ndash;<button type="button" class="layui-btn layui-btn-primary" id="LAY_avatarUpload">
                  <i class="layui-icon layui-icon-add-circle-fine">&#xe67c;</i>上传图片
                </button>
                <button class="layui-btn layui-btn-primary" layadmin-event="avartatPreview">查看图片</button >&ndash;&gt;
                  <button class="layui-btn layui-btn-primary" layadmin-event="avartatPreview">选择机构</button >
              </div>
           </div>-->
            <div class="layui-form-item">
              <label class="layui-form-label">手机</label>
              <div class="layui-input-inline">
                <input type="text" name="telNumber" value="" lay-verify="phone" autocomplete="off" class="layui-input" value="{{d.data.telNumber}}">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">邮箱</label>
              <div class="layui-input-inline">
                <input type="text" name="email" value="" lay-verify="email" autocomplete="off" class="layui-input" value="{{d.data.email}}">
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="setmyinfo">确认修改</button>
                <button type="reset" class="layui-btn layui-btn-primary">重新填写</button>
              </div>
            </div>
          </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<script>
layui.use('set', layui.factory('set'));
</script>